﻿<%@ Page Title="Thống kê theo lĩnh vực" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="LinhVuc.aspx.cs" Inherits="Dost.Khcn.Web.Reports.LinhVuc" %>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <h3>Thống kê số lượng chuyên gia theo lĩnh vực</h3>
    <div id="ReportLinhvuc"></div>
    <script type="text/javascript">
        $(function() {
            $("#ReportLinhvuc").jtable({
                actions: {
                    listAction: 'LinhVuc.aspx/ReportLinhvuc'
                },
                fields: {
                    Ten: {
                        title: "Lĩnh vực",
                        display: function(data) {
                            return data.record.Ma ? data.record.Ma + '-' + data.record.Ten : data.record.Ten;
                        }
                    },
                    SoLuong: {title: "Tổng"}
                }
            });

            $("#ReportLinhvuc").jtable('load');
        });
    </script>
</asp:Content>
